Because the Carbon Printing Manager replaces all of the original Printing Manager functions you are using today, the first step in converting your code is to locate and replace your old Printing Manager function calls with their Carbon equivalents. In most cases there is a one-to-one mapping between the new functions and the original functions they replace. The following table lists the Carbon equivalents for original Printing Manager functions.
Carbon replacements for original Printing Manager functionsSome of the functionality provided by original Printing Manager is no longer supported, and therefore the Carbon Printing Manager does not provide replacements for the following routines:
Original Printing Manager functions that are not supported in Carbon
PrPicFile
|
PrPurge
|
PrNoPurge
|
PrLoadDriver
|
PrDrvrDCE
|
PrDrvrOpen
|
PrDrvrClose
|
PrDrvrVers
|
PrCtlCall
|
PrJobMerge
|
The
PrPicFile
function was removed because the "deferred" printing style is no longer supported. All print records must use "draft" style, and printer drivers must perform their own spooling or use the Desktop Printer Spooler. Refer to the original Printing Manager documentation for information about draft and deferred printing styles. The Desktop Printer Spooler is described in Tech Note 1097.